﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServiceBus.EndPoint
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public class ServiceProxy : System.ServiceModel.ClientBase<ServiceBus.Contract.ISAOService>, ServiceBus.Contract.ISAOService
    {
        #region OVERRIDE CONTRUCTOR FUNCTIONS
        public ServiceProxy() {
        }
        
        public ServiceProxy(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public ServiceProxy(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public ServiceProxy(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }

        public ServiceProxy(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }

        #endregion


        public object Invoke(string methodname, params object[] args)
        {
            return base.Channel.Invoke(methodname, args);
        }

    }
}
